<div class="row">
	<div class="small-6 columns">
		<?if(isset($gd) && $gd):?>
				<p class="lead-title">Elementary Grading System</p>
				<table class="table table-striped table-bordered">
						<tr class="info">
							<td width="25%"><strong>Letter</strong></td>
							<td style="text-align:center" width="25%"><strong>Range From</strong></td>
							<td width="25%">&nbsp;</td>
							<td style="text-align:center" width="25%"><strong>Range To</strong></td>
						</tr>
						<?foreach ($gd as $k => $v): $v = (object)$v;?>
							<t>
								<td><span class="badge badge-<?=$v->badge?>"><?=$v->letter?></span></td>
								<td style="text-align:center"><strong><?=$v->rangefrom?></strong></td>
								<td style="text-align:center"><i class="icon-arrow-right"></td>
								<td style="text-align:center"><strong><?=$v->rangeto?></strong></td>
							</tr>
						<?endforeach;?>
				</table>
			</section>
		<?endif;?>
	</div>
	<div class="small-6 columns">
		<?if(isset($gs) && $gs):?>
			<p class="lead-title">Kinder</p>
			<table class="table">
				<?foreach ($gs as $k => $v):?>
					<tr>
						<td><h4><?=ucwords($v->name)?></h4></td>
						<td><code><?=ucwords($v->color)?></code></td>
						<td><td><img src="<?=image_url($v->icon);?>" width="75" ></td></h4></td>
					</tr>
				<?endforeach;?>
			</table>
		<?endif;?>			
	</div>
</div>


<!-- 	<section>
		<p class="lead-title">Kinder</p>
			<table class="table">
				<tr>
					<td><h4>Hooray</h4></td>
					<td><code>yellow</code></td>
					<td><img src="<?=image_url('symb-yellow.png');?>" width="75" ></td>
				</tr>
				<tr>
					<td><h4>Great</h4></td>
					<td><code>red</code></td>
					<td><img src="<?=image_url('symb-red.png');?>" width="75" ></td>
				</tr>
				<tr>
					<td><h4>Nice</h4></td>
					<td><code>blue</code></td>
					<td><img src="<?=image_url('symb-blue.png');?>" width="75" ></td>
				</tr>
				<tr>
					<td><h4>Can Do Better</h4></td>
					<td><code>green</code></td>
					<td><img src="<?=image_url('symb-green.png');?>" width="75" ></td>
				</tr>
				<tr>
					<td><h4>Help</h4></td>
					<td><code>orange</code></td>
					<td><img src="<?=image_url('symb-orange.png');?>" width="75" ></td>
				</tr>
			</table>
	</section>
	 -->